//
//  CountryTableViewController.h
//  MooreDoll
//
//  Created by 郭景豪 on 2014/12/2.
//  Copyright (c) 2014年 Tank. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CountryTableViewController;
@protocol CountryTableViewControllerDelegate <NSObject>

//選擇國家後的delegate事件
-(void)selectCountry:(NSDictionary *)countryDict;

@end







@interface CountryTableViewController : UITableViewController<UITableViewDelegate,UITableViewDataSource,UISearchDisplayDelegate,UISearchResultsUpdating>
{
    //搜尋結果
    NSArray *searchResult;
    //版本
    float version;
    
    // 8.1
    UISearchController *mySearchController;
        
    // 7.1
    UISearchBar *searchBar;
    UISearchDisplayController *searchDisplayController;
    
}


@property (strong,nonatomic)NSMutableArray *MA_Country;

@property (weak,nonatomic)id<CountryTableViewControllerDelegate>delegate;

@end
